package conventer;

import model.MibNode;

public abstract class MibNodeConverter<E> extends Converter<MibNode, E> {
    @Override
    public MibNode toBean(E entity) {
        MibNode node = new MibNode();
        convert(entity, node);
        return node;
    }

    @Override
    public abstract E toEntity(MibNode bean);
}
